lxc launch images:fedora/43/amd64 gitlab-runner-3
lxc config set gitlab-runner-3 security.nesting true lxc config set gitlab-runner-3 security.privileged true lxc restart gitlab-runner-3
dnf update
dnf config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
systemctl enable --now docker
docker run hello-world
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh" -o script.rpm.sh bash script.rpm.sh dnf install gitlab-runner
gitlab-runner status
gitlab-runner register
-> GitLab instance URL: https://gitlab.somedomain.com/
-> registration token: take from admin page https://gitlab.somedomain.com/admin/runners
-> description for runner: leave default
-> tags for the runner: leave default
-> optional maintenance note for the runner: leave default
-> executor: 'docker'
-> default docker image: 'docker:stable'
gitlab-runner run After a while, press Ctrl+C to cancel
dnf install nano
nano /etc/gitlab-runner/config.toml
dnf install iptables-nft alternatives --config iptables -> select /usr/bin/iptables-nft instead of /usr/bin/iptables-legacy
iptables -V